﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucDomainAbstract.ascx.cs"
    Inherits="ExpertMIS.UserControl.ucDomainAbstract" %>
<asp:DataList ID="dlColumns" runat="server" CssClass="domain-container" RepeatColumns="3"
    RepeatDirection="Horizontal" OnItemDataBound="dlColumns_ItemDataBound">
    <ItemTemplate>
        <div class="domain-item">
            <div class="domain-item-title">
                <a href='Forums/DomainIntroduce.aspx?oid=<%# Eval("OID") %>' style="text-decoration:none;"><asp:Label runat="server" ID="lblTitle" Text='<%# Eval("DomainName") %>' Font-Size="10pt"
                    Font-Bold="true" ForeColor="#595959"></asp:Label></a>
            </div>
            <div class="domain-item-context">
                <asp:DataList runat="server" ID="dlQuestionList">
                    <ItemTemplate>
                        <div style="overflow: hidden; text-align: left; padding-left: 10px;">
                            <asp:HyperLink runat="server" ID="hlQuestion" Text='<%# ExpertMIS.Codes.Utility.CutLongText(Eval("Title").ToString(),15) %>'
                                NavigateUrl='<%# "~/Forums/QuestionForm.aspx?oid=" +  Eval("OID") %>' Target="_blank"
                                Style="text-decoration: none; color: #595959;" ToolTip='<%# Eval("Title") %>'></asp:HyperLink>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
        </div>
    </ItemTemplate>
    <ItemStyle Height="200px" VerticalAlign="Top" />
</asp:DataList>
